<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			var str="javascript 的数据类型";
			
			var i=100;
			
			var isMan=true;
			console.log(isMan);
			
			var hobby=["拼购","唱歌","计算机","跳舞"]
			console.log(hobby);
			console.log(hobby[0]);//数组下标从0开始
			console.log(hobby[hobby.length-1]);//最后一个元素
			
		</script>
	</body>
</html>
